# -*- coding: utf-8 -*-
"""
Created on Fri Sep 22 15:07:46 2023

@author: 楠川之木
"""

sen = input("请输入一句英文：")
words = sen.split()
length = [len(word) for word in words]
maxlen = max(length)
print("最长单词{} 有{}字母".format(words[length.index(maxlen)],maxlen))